package com.kokoiko;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Kokoiko extends Activity implements OnClickListener{
	
	Button login;
	Button register;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.kokoiko);
    
        //
        login = (Button) findViewById(R.id.login);
        login.setOnClickListener(this);
        
        register = (Button) findViewById(R.id.register);
        register.setOnClickListener(this);
    }
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		if(v == login){
			Intent intent = new Intent(Kokoiko.this, Login.class);
			startActivity(intent);
		}
		if(v == register)
		{
			Intent intent = new Intent(Kokoiko.this, Register.class);
			startActivity(intent);
		}
	}
}